app.controller("indexController",function($scope,goodsService){
	$scope.loadIndexGoods = function(){
		goodsService.queryIndexGoods().then(function success(response){
			console.log(response);
			$scope.hots=response.data.data.hots;
			$scope.news=response.data.data.news;
		})
	}
});